-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Add visibility filter #17
base: master-ibx3
Are you sure you want to change the base?
Conversation
Code clean
README.md
Outdated
|
||
Go on https://github.com/splitsh/lite/releases to chose a version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go on https://github.com/splitsh/lite/releases to chose a version | |
Go on [splitsh](https://github.com/splitsh/lite/releases) to choose a version |
@@ -226,7 +234,7 @@ public function getContentTypeList(): array | |||
$contentTypesMap[ucfirst($contentType->getName())] = $contentType->id; | |||
} | |||
ksort($contentTypesMap); | |||
if (\count($contentTypesMap)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let \
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we leave the '' here?
Why don't we put it for the ksort function right on top?
How about an import?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seb shared an article that using \
was quicker to resolve by the PHP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is and PHP Storm EAD Inspections (that you should have) is supposed to show it too ;-)
It sounds good, still in Draft for a reason @RemyNovactive ? Thanks both of you cc @anaelChardan |
3fee25a
to
6d420fe
Compare
Add a visibility filter to be sure of fetch only visible content.